package za.ac.lance.liskovsubstitutionprinciple.violates;

/**
 * File Name: Square.java
 * Version:
 * Description:
 * Package: za.ac.lance.liskovsubstitutionprinciple.violates
 * Author: Lance
 * Date: Feb 26, 2012
 */
public class Square extends Rectangle
{

    public Square(int width, int height)
    {
        super(width, height);
    }

    @Override
    public void setWidth(int width)
    {
        super.setWidth(width);
        super.setHeight(width);
    }

    @Override
    public void setHeight(int height)
    {
        super.setWidth(height);
        super.setHeight(height);
    }
}
